import React,{Component} from 'react';

export const Span = (props)=>{
    let mystyle = props.style||{};
    mystyle.color = '#0099ff'
    if(props.active){
        mystyle.color = '#fff';
    }
    return(
        <span {...props} style = {{...mystyle}} >
            {props.children}
        </span>
    )
}